<template>
  <div class="header-yellow">
      <div class="title">
          <span>深圳市民中心 1223</span>
      </div>
      <div class="search">
          <span>搜索</span>
      </div>
  </div>
</template>
<script>
export default {
  
}
</script>
<style scoped>
.header-yellow{
    width: 100%;
    height: 4.5rem;
    background-color: rgb(255, 214, 0);
    line-height: 5rem;
    font-size: 1.6rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}
.search{
    position: absolute;
    top: 0.5rem;
    right: 0;
}
.title > span:after{
    content: "▼";
}
.search > span{
    display: inline-block;
    width: 4rem;
    height: 2rem;
    font-size: 1.2rem;
    content: '';
    background: url('./images/serach.png') no-repeat center;
    background-size: 50% 100%;
}
</style>

